From 94479d744a5392fb958be9ab369d9318731170bd Mon Sep 17 00:00:00 2001 From: Andrew Cooper Date: Fri, 27 Mar 2015 18:44:52 +0000 Subject: [PATCH] tools/xen-mfndump: Remove stray semicolon preventing 'dump-m2p' from functioning Introduced by c/s 1781f00e Signed-off-by: Andrew Cooper Coverity-IDs: 1291939 (stray semicolon), 1291941 (structually dead code) CC: Konrad Rzeszutek Wilk CC: Ian Campbell CC: Ian Jackson CC: Wei Liu CC: Xen Coverity Team Reviewed-by: Konrad Rzeszutek Wilk Acked-by: Ian Campbell --- tools/misc/xen-mfndump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/misc/xen-mfndump.c b/tools/misc/xen-mfndump.c index 0c018e0b5a..ceeeaa922a 100644 --- a/tools/misc/xen-mfndump.c +++ b/tools/misc/xen-mfndump.c @@ -41,7 +41,7 @@ int dump_m2p_func(int argc, char *argv[]) } /* Map M2P and obtain gpfn */ - if ( xc_maximum_ram_page(xch, &max_mfn) < 0 ); + if ( xc_maximum_ram_page(xch, &max_mfn) < 0 ) { ERROR("Failed to get the maximum mfn"); return -1; -- 2.30.2